[Flex] Caching canvas into ByteArray
Posted
by Eugene
on Stack Overflow
See other posts from Stack Overflow
or by Eugene
Published on 2010-05-16T16:54:19Z
Indexed on
2010/05/16
17:00 UTC
Read the original article
Hit count: 244
Task: (all in code, not visual) create a canvas, place into it some labels and draw some lines, then cache it as byteArray.
The problem is that if I cache an object that is already drawed on the screen, it works great, but if I cache a canvas, that have been created few lines earlier, this results white image.
Is there any solution to cache a display object, that was created in code, but not intended to be displayed at all?
© Stack Overflow or respective owner